#import <UIKit/UIKit.h>

/**
 * An SFUConnectionDelegate is a protocol for a delegate that handles
 * connection events with an SFU website.
 *
 * @author      James Lin
 * @version     1.0.1
 * @since       0.5.0
 */
@protocol SFUConnectionDelegate <NSObject>

/**
 * Handle a failed connection event to an SFU website.
 *
 * MUST be implemented.
 *
 * @param message  the message for the connection that just failed
 */
- (void)connectionDidFail:(NSString*)message;

/**
 * Handle a finished connection event to an SFU website.
 *
 * MUST be implemented.
 *
 * @param message  the message for the connection that just finished
 * @param results  an object of the results (can be nil)
 */
- (void)connectionDidFinish:(NSString*)message 
					results:(id)results;

@end
